<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            标题
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" name="title" type="text" value="{$data['title']}"/>
        </div>
    </div>
<div class="layui-form-item">
            &nbsp;&nbsp;内容
        <hr class="layui-bg-cyan">
    </div>
    <textarea id="content" name="content" lay-verify="required" type="text/plain" style="width:100%;margin-bottom:20px;">{$data['content']}</textarea>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
{load href="__plugin__/ueditor/ueditor.config.js,__plugin__/ueditor/ueditor.all.min.js" /}


<script type="text/javascript">
    var ue = UE.getEditor('content', {
        autoHeight: true,
        initialFrameHeight: 400,
        wordCount:false,
        maximumWords:1000000000000,
    });

</script>